<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.com">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" type="text/css" th:href="@{/css/admin.css}"/>
    <style type="text/css">
        html, body {
            height: 100%;
        }

    </style>
</head>
<body>
<div class="container">
    <div class="top">
        <h3>
            欢迎，
            <th:block th:text="${session.adminUser.userName}"></th:block>
            [<a href="/admin/logout">注销</a>]
        </h3>
    </div>
    <div class="main">
        <div class="left">
            <ul>
                <li>
                    <a href="javascript:void(0)">基础数据管理</a>
                    <ul>
                        <li><a href="/admin/category/list" target="content">商品分类查询</a></li>
                        <li><a href="/admin/category/add_show" target="content">商品分类添加</a></li>
                        <li><a href="/admin/goods/list" target="content">商品信息查询</a></li>
                        <li><a href="/admin/goods/add_show" target="content">商品信息添加</a></li>
                    </ul>
                </li>
            </ul>
        </div>
        <div class="right">
            <iframe style="border: none; width: 100%;height: 100%;" src="/admin/welcome" name="content"></iframe>
        </div>
    </div>
</div>
</body>
</html>